#ifndef __PHYSIC_MANAGER_H__
#define __PHYSIC_MANAGER_H__


#include "../Global.h"
#include "PhysicObject.h"

class PhysicManager : public MemoryManagerDelegate , public CCNode
{
public:
	PhysicManager( );
	virtual ~PhysicManager( );

	static PhysicManager*		sharedPhysicManager ( );

	void				addPhysicObject				( PhysicObject* pObj );

	void				update						( float dt );

private:
	LStaticArray<PhysicObject>*		m_pListBullet;
	LStaticArray<PhysicObject>*		m_pListCircle;
};


#endif //__PHYSIC_MANAGER_H__